package com.qs.rocketmq.right.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;
import java.math.BigInteger;

@ToString
@Data
@Alias("Coupon")
@TableName("t_coupon")
public class Coupon {

    @TableId(type = IdType.AUTO)
    private BigInteger id;

    private String name;

    private Integer count;

    private BigDecimal amount;

}
